home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / pxsrc_21.zip / MAKEFILE.OS2 < prev    next >
Text File  |  1990-03-31  |  1KB  |  33 lines

  1. ###############################################################
  2. #  Make file for PolyXARC -- OS/2 version                     #
  3. #                                                             #
  4. #  use MAKE /f MAKEFILE.OS2                                   #
  5. #                                                             #
  6. # Differences from dos make file:                             #
  7. #   Linker statements                                         #
  8. #                                                             #
  9. # The Touch utility, referenced below, is a FAPI (Bound)      #
  10. # utility available from 1:109/301 or other OS/2 BBS.         #
  11. #                                                             #
  12. # I've left it commented out for now.                         #
  13. #                                                             #
  14. ###############################################################
  15. model=C            # use large model when debugging -- bugs JUMP out at you
  16. mode=p
  17. linklibs=$(model)libce$(mode).lib os2.lib doscalls.lib
  18. CFLAGS=-A$(model) -Lp -DMSC -Osal -Zpel -W3 -G2 -Gw -DOS_2 -UMSDOS -J -nologo
  19. LINK=C:\OS2\Link
  20. main=polyxarc
  21.  
  22. cobj=$(main).obj paksortm.obj dirfind.obj
  23.  
  24. $(main).exe:  $(cobj)
  25.  $(LINK) $(cobj),polyxos2.exe/A:16/FAR/NOD/PACKD/ST:3000,NUL.MAP,$(linklibs);
  26.  
  27. $(cobj): $(cobj:.obj=.c)
  28.  !CL $(CFLAGS) -c $?
  29.  
  30. #$(cobj:.obj=.C): pakmdefn.h makefile.os2
  31. # touch *.c
  32.  
  33.